package com.zzyl.mapper;


import com.zzyl.entity.NursingProPlan;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface NursingPlanProMapper {

    //新增
    void insertNursingProPlan(List<NursingProPlan> nppList);
    //id查询
    List<NursingProPlan> selectList(Long id);
    //删除
    void deleteNPP(List<Long> planIds);

    @MapKey(value = "id")
    List<Map> countFind(List<Long> collect);
}
